<?php
class Server extends AbstractMedia{
    public function process()
    {
        echo "<br>连接数据库<br>";
        $data = $this->getMediator()->queryData();
        $this->getMediator()->output($data);
    }
}